import Vue from 'vue'
import App from './App.vue'
import router from "./router/index"
import service from "./utils/service"
import store from './store'


import {DropdownMenu, DropdownItem,Sticky, Search,Tab, Tabs,Area,AddressEdit,Button,AddressList,SubmitBar,Tag,Card,Checkbox,CheckboxGroup,SwipeCell,CountDown,Divider,Swipe,Empty,Overlay,Toast, Image as VanImage,SwipeItem,List, Icon,Cell, CellGroup ,Col, Field, Row ,Popup,GoodsAction,TreeSelect , Sidebar, SidebarItem,GoodsActionIcon, GoodsActionButton, Grid, GridItem  } from 'vant';


Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Sticky);
Vue.use(Search);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Area);
Vue.use(AddressEdit);
Vue.use(AddressList);
Vue.use(SubmitBar);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Button);
Vue.use(CountDown);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(List)
Vue.use(Icon);
Vue.use(Cell);
Vue.use(CellGroup); 
Vue.use(Col);
Vue.use(Row);
Vue.use(Popup);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(TreeSelect);
Vue.use(Field);
Vue.use(VanImage);
Vue.use(Toast);
Vue.use(Overlay);
Vue.use(Empty);
Vue.use(Divider);
Vue.use(SwipeCell);
Vue.use(Card);
Vue.use(Tag);


Vue.config.productionTip = false
Vue.prototype.$service = service;
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
